SELENIUM ---------- DAY8 ---- Alerts Frames QUESTIONS(Theory) ----------------- 1.What is an Alert? 2.What are the types of Alert? 3.Write a code to perform Alert? 4.What can we do to click Ok button in alert? 5.What can we do to click Cancel button in alert? 6.Whether alert is an interface or class? 7.What is mean by frames? 8.What are the arguments we pass on frames? 9.Write a code for switching the alert? 10.Write a code to switch frames? 11.What is the method switch the alert and frame? QUESTIONS(Practical) -------------------- QUESTION 1: ---------- URL : http://demo.automationtesting.in/Alerts.html NOTE: Click button to display an alert box and click ok button QUESTION 2 ---------- URL : http://demo.automationtesting.in/Alerts.html NOTE: Click Alert with ok & cancel button and Click button to display an confirm box Perform confirm alert. QUESTION 3 ---------- URL : http://demo.automationtesting.in/Alerts.html NOTE: Click Alert with textBox button and Click button to demonstrate an prompt box Perform prompt alert. QUESTION 4 ---------- URL : https://netbanking.hdfcbank.com/netbanking/?_ga=2.176378149.1819882415.1533883212-608727520.1532670997 NOTE: Click continue without enter the user id and handle popup. QUESTION 5 ---------- URL : https://netbanking.canarabank.in/entry/ENULogin.jsp NOTE: Click sign in without enter the user id and print text appear and handle popup. QUESTION 6 ---------- URL : https://retail.onlinesbi.com/retail/login.htm NOTE: Click Continue To Login and click Login without enter the user id. QUESTION 7 ---------- URL : https://netbanking.hdfcbank.com/netbanking/ NOTE: Enter the userId,click continue.Enter password. QUESTION 8 ---------- URL : https://infinity.icicibank.com/corp/AuthenticationController?FORMSGROUP_ID__=AuthenticationFG&__START_TRAN_FLAG__=Y&FG_BUTTONS__=LOAD&ACTION.LOAD=Y&AuthenticationFG.LOGIN_FLAG=1&BANK_ID=ICI NOTE: Enter the userId password. Click login button